/*
 * @Description  : 图表
 * @Author       : zhao
 * @Date         : 2022-07-26 09:22:26
 * @LastEditors  : zhao
 * @LastEditTime : 2023-02-01 14:52:03
 */
import request from '/@/utils/request';



// CS馆藏资料年度新增统计
export function GetYearNewAddGetSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetYearNewAddGetSA',
        method: 'get',
        params: data
    })
}
// CS档案借阅量年度新增
export function GetYearNewAddBrowsingSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetYearNewAddBrowsingSA',
        method: 'get',
        params: data
    })
}
// 首页，预定量查询（饼图，按形成区划划分）
export function GetHomeProBrowsingDistirctSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetHomeProBrowsingDistirctSA',
        method: 'get',
        params: data
    })
}
// 首页，预定量查询（饼图，按资料类型划分）
export function GetHomeProBrowsingCategorySA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetHomeProBrowsingCategorySA',
        method: 'get',
        params: data
    })
}
// 首页，预定量查询(值，订单数)
export function GetHomeProBrowsingNumberSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetHomeProBrowsingNumberSA',
        method: 'get',
        params: data
    })
}
// 获取区划
export function GetDivision(data) {
    return request({
        url: '/api/GeodatainfoArchive/GetDivision',
        method: 'get',
        params: data
    })
}
// 获取所属行业
export function Profession(data) {
    return request({
        url: '/api/Profession/Get',
        method: 'get',
        params: data
    })
}
// CS馆藏资料月度新增统计折线图
export function GetMonthNewAddGetSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetMonthNewAddGetSA',
        method: 'get',
        params: data
    })
}
// CS档案借阅量月度新增折线图
export function GetMonthNewAddBrowsingSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetMonthNewAddBrowsingSA',
        method: 'get',
        params: data
    })
}


//现状统计
// CS档案借阅量年份 
export function GetGeoDataYearSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetGeoDataYearSA',
        method: 'get',
        params: data
    })
}
//CS档案借阅量年代
export function GetGeoDataByYearSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetGeoDataByYearSA',
        method: 'get',
        params: data
    })
}
// CS当年馆藏资料统计
export function GetGeoDataSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetGeoDataSA',
        method: 'get',
        params: data
    })
}
//排行
//CS当前借阅量--按档案名称分布
export function GetBrowsingNumberSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowsingNumberSA',
        method: 'get',
        params: data
    })
}
//CS当前借阅量--按资料类别分布
export function GetBrowsingNumberCategorySA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowsingNumberCategorySA',
        method: 'get',
        params: data
    })
}


// -----------借阅利用统计 -按资料类别统计---------------
// 查询量统计 柱状图 
export function GetSearchRecoreSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetSearchRecoreSA',
        method: 'post',
        data: data
    })
}
// 借阅量统计 柱状图
export function GetBrowsingRecoreSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowsingRecoreSA',
        method: 'post',
        data: data
    })
}
// CS预定量统计 柱状图
export function GetProBrowsingSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetProBrowsingSA',
        method: 'post',
        data: data
    })
}
//end ----借阅利用统计 -按资料类别统计-------




/* ---------------借阅利用统计 -按日期统计-------------------------*/
//CS查询量统计（柱状图）--按年月日分类- 年分类
export function GetSearchRecoreYearSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetSearchRecoreYearSA',
        method: 'get',
        params: data
    })
}
//CS查询量统计（柱状图）--按年月日分类- 月分类
export function GetSearchRecoreMonthSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetSearchRecoreMonthSA',
        method: 'get',
        params: data
    })
}
//CS查询量统计（柱状图）--按年月日分类- 日分类
export function GetSearchRecoreDaySA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetSearchRecoreDaySA',
        method: 'get',
        params: data
    })
}
//CS借阅量统计（柱状图）--按年月日分类- 年分类
export function GetBrowsingRecoreYearSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowsingRecoreYearSA',
        method: 'get',
        params: data
    })
}
//CS借阅量统计（柱状图）--按年月日分类- 月分类
export function GetBrowsingRecoreMonthSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowsingRecoreMonthSA',
        method: 'get',
        params: data
    })
}
//CS借阅量统计（柱状图）--按年月日分类- 日分类
export function GetBrowsingRecoreDaySA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowsingRecoreDaySA',
        method: 'get',
        params: data
    })
}
//网站浏览量- 年分类
export function GetBrowseNumberYearSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowseNumberYearSA',
        method: 'get',
        params: data
    })
}
//网站浏览量- 月分类
export function GetBrowseNumberMonthSA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowseNumberMonthSA',
        method: 'get',
        params: data
    })
}
//网站浏览量- 日分类
export function GetBrowseNumberDaySA(data) {
    return request({
        url: '/api/StatisticalAnalysis/GetBrowseNumberDaySA',
        method: 'get',
        params: data
    })
}

//---------------end 借阅利用统计 -按日期统计-------------------------
